switch: Update css docs to reflect current reality
authorMatthias Clasen <mclasen@redhat.com>
Fri, 31 Mar 2017 15:03:49 +0000 (11:03 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 31 Mar 2017 16:48:05 +0000 (12:48 -0400)
This should have been done when the hierarchy was changed.

gtk/gtkswitch.c

index c84f57be5efc3071b3ca30e697e69de6941a0346..5077b691a1ccedc774721d8968c644ec1766d54a 100644 (file)
  *
  * |[<!-- language="plain" -->
  * switch
- * ╰── slider
+ * ├── slider
+ * ├── label
+ * ╰── label
  * ]|
  *
- * GtkSwitch has two css nodes, the main node with the name switch and a subnode
- * named slider. Neither of them is using any style classes.
+ * GtkSwitch has four css nodes, the main node with the name switch and subnodes
+ * for the slider and the on and off labels. Neither of them is using any style classes.
  */
 
 #include "config.h"